package cn.com.lms.business.exam.persistence.entity;


import cn.com.lms.business.exam.web.vo.DepartJobInfoVO;

import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.List;

@Entity
@Getter
@Setter
@Table(name = "bnz_exam_exercise")
@Schema(description="练习")
public class Exercise extends BaseEntity {


  @Schema(description = "练习名称")
  @Column(name = "exercise_name")
  private String exerciseName;

  @Schema(description = "删除标识 0-未删除 1-已删除")
  @Column(name = "is_delete")
  private Boolean isDelete;

  @Schema(description = "启用状态 0-未启用 1-已启用)")
  @Column(name = "is_enable")
  private Boolean isEnable;

  @Transient
  List<ExerciseQuestion> exerciseQuestionList;

  @Transient
  List<ExerciseEmployee> exerciseEmployeeList;

  @Schema(description = "部门ID/岗位名称")
  @Transient
  List<DepartJobInfoVO> departJobInfo;

}
